#ifndef _MAINWINDOW_H_
#define _MAINWINDOW_H_

#include <QMainWindow>
#include <QTabWidget>
#include "GLWidget.h"


#define WINDOW_WIDTH0  800
#define WINDOW_HEIGHT0 600


class MainWindow : public QMainWindow
{
	public:
		static MainWindow* getInstance();
		~MainWindow(void);

		GLWidget* getGLWidget();
		void addMenuTab(QString name, QWidget* tab);

	private:
		static MainWindow* m_instance;
		GLWidget*  m_glWidget;
		QTabWidget* m_menuTabs;

		MainWindow(void);
		void setupUi();

};


#endif